package Dao;

import Entity.User;

import java.util.List;


public interface UserDao {
    public int Add(User user) throws Exception;

    public int Addse(User user) throws Exception;

    public int Addem(User user) throws Exception;


    public int DeleteById(int sid) throws Exception;


    public User SearchById(int sid) throws Exception;


    public int Change(User user) throws Exception;


    public List<User> SearchAllByName(String name) throws Exception;


    public List<User> SearchAllByid(int id) throws Exception;


}


